import { createMemoryHistory, createRouter } from 'vue-router'

const routes = [
  { path: '/', redirect: "/home" },
  { path: '/home', component: () => import("../views/Home/index.vue") },
  { path: '/about', component: () => import("../views/About/index.vue") },
]

const router = createRouter({
  history: createMemoryHistory(),
  routes,
})

export default router
